﻿#include "ObjAutoInject.h"

#include "LogSaver.h"

ObjAutoInject::ObjAutoInject()
{}

ObjAutoInject::~ObjAutoInject()
{}

void ObjAutoInject::printInjection(QObject * const obj1, QObject * const obj2)
{
  LogSaver::getLogSaver()->saveLog((Q_NULLPTR==obj1?"null":obj1->objectName())+" << "+
                                   (Q_NULLPTR==obj2?"null":obj2->objectName()));
}

void ObjAutoInject::objectAutoInjection(QHash<QString,QObject*>* objMap)
{
  (void)objMap;
}

